package com.niiwoo.civet.mobile.vo.response.myCustomer;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@ApiModel
public class ProblemListByKeywordResponseVO {

    /**
     * 用户身份
     */
    @ApiModelProperty(value = "身份标签（0是新人，1是投资人，2是借款人）",  required = true)
    private byte identityTag;
    /**
     * 问题列表
     */
    @ApiModelProperty(value = "热门问题",  required = true)
    private List<Problem> problemsList;
    @Getter
    @Setter
    @ApiModel("问题列表")
    public static class Problem {
        @ApiModelProperty(value = "问题ID",  required = true)
        private Long id;

        @ApiModelProperty(value = "问题标题",  required = true)
        private String problemName;

        @ApiModelProperty(value = "是否新回复(1- 是，0- 不是)",  required = true)
        private byte isNew;

    }

}
